/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package baiwa.rta.model;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import javax.xml.bind.annotation.XmlTransient;

/**
 *
 * @author jirapatjantsakool
 */
public class RMcdhdrModel extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;
    private int cdhid;
    private String cdhdocno;
    private String cdhdocstatus;
    private Date cdhrcvdat;
    private String cdhreqto;
    private String cdhreqby;
    private String cdhreqtel;
    private String cdhreqemail;
    private String cdhdephoby;
    private Date cdhdephodat;
    private String cdhdeprcvby;
    private Date cdhdeprcvdat;
    private String cdhrcvrcvby;
    private Date cdhrcvrcvdat;
    private String cdhrcvhoby;
    private Date cdhrcvhodat;
    private String cdhcreby;
    private Date cdhcredat;
    private String cdhupdby;
    private Date cdhupddat;
    private int rlrmid;
    
    private Collection<RMcddtlModel> rmcddtlCollection;
    private TowerModel tower;

    public RMcdhdrModel() {
    }

    public String getCdhdocstatus() {
        return cdhdocstatus;
    }

    public int getCdhid() {
        return cdhid;
    }

    public void setCdhid(int cdhid) {
        this.cdhid = cdhid;
    }

    public String getCdhdocno() {
        return cdhdocno;
    }

    public void setCdhdocno(String cdhdocno) {
        this.cdhdocno = cdhdocno;
    }

    public String getCdhrcvhoby() {
        return cdhrcvhoby;
    }

    public void setCdhrcvhoby(String cdhrcvhoby) {
        this.cdhrcvhoby = cdhrcvhoby;
    }

    public void setCdhdocstatus(String cdhdocstatus) {
        this.cdhdocstatus = cdhdocstatus;
    }

    public Date getCdhrcvdat() {
        return cdhrcvdat;
    }

    public void setCdhrcvdat(Date cdhrcvdat) {
        this.cdhrcvdat = cdhrcvdat;
    }

    public String getCdhreqto() {
        return cdhreqto;
    }

    public void setCdhreqto(String cdhreqto) {
        this.cdhreqto = cdhreqto;
    }

    public String getCdhreqby() {
        return cdhreqby;
    }

    public void setCdhreqby(String cdhreqby) {
        this.cdhreqby = cdhreqby;
    }

    public String getCdhreqtel() {
        return cdhreqtel;
    }

    public void setCdhreqtel(String cdhreqtel) {
        this.cdhreqtel = cdhreqtel;
    }

    public String getCdhreqemail() {
        return cdhreqemail;
    }

    public void setCdhreqemail(String cdhreqemail) {
        this.cdhreqemail = cdhreqemail;
    }

    public String getCdhdephoby() {
        return cdhdephoby;
    }

    public void setCdhdephoby(String cdhdephoby) {
        this.cdhdephoby = cdhdephoby;
    }

    public Date getCdhdephodat() {
        return cdhdephodat;
    }

    public void setCdhdephodat(Date cdhdephodat) {
        this.cdhdephodat = cdhdephodat;
    }

    public String getCdhdeprcvby() {
        return cdhdeprcvby;
    }

    public void setCdhdeprcvby(String cdhdeprcvby) {
        this.cdhdeprcvby = cdhdeprcvby;
    }

    public Date getCdhdeprcvdat() {
        return cdhdeprcvdat;
    }

    public void setCdhdeprcvdat(Date cdhdeprcvdat) {
        this.cdhdeprcvdat = cdhdeprcvdat;
    }

    public String getCdhrcvrcvby() {
        return cdhrcvrcvby;
    }

    public void setCdhrcvrcvby(String cdhrcvrcvby) {
        this.cdhrcvrcvby = cdhrcvrcvby;
    }

    public Date getCdhrcvrcvdat() {
        return cdhrcvrcvdat;
    }

    public void setCdhrcvrcvdat(Date cdhrcvrcvdat) {
        this.cdhrcvrcvdat = cdhrcvrcvdat;
    }

    public Date getCdhrcvhodat() {
        return cdhrcvhodat;
    }

    public void setCdhrcvhodat(Date cdhrcvhodat) {
        this.cdhrcvhodat = cdhrcvhodat;
    }

    public String getCdhcreby() {
        return cdhcreby;
    }

    public void setCdhcreby(String cdhcreby) {
        this.cdhcreby = cdhcreby;
    }

    public Date getCdhcredat() {
        return cdhcredat;
    }

    public void setCdhcredat(Date cdhcredat) {
        this.cdhcredat = cdhcredat;
    }

    public String getCdhupdby() {
        return cdhupdby;
    }

    public void setCdhupdby(String cdhupdby) {
        this.cdhupdby = cdhupdby;
    }

    public Date getCdhupddat() {
        return cdhupddat;
    }

    public void setCdhupddat(Date cdhupddat) {
        this.cdhupddat = cdhupddat;
    }

    public Collection<RMcddtlModel> getRmcddtlCollection() {
        return rmcddtlCollection;
    }

    public void setRmcddtlCollection(Collection<RMcddtlModel> rmcddtlCollection) {
        this.rmcddtlCollection = rmcddtlCollection;
    }

    public int getRlrmid() {
        return rlrmid;
    }

    public void setRlrmid(int rlrmid) {
        this.rlrmid = rlrmid;
    }

    public TowerModel getTower() {
        return tower;
    }

    public void setTower(TowerModel tower) {
        this.tower = tower;
    }

    @Override
    public int hashCode() {
        return super.hashCode(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String toString() {
        return "baiwa.rta.model.Rmcdhdr[ cdhid=" + cdhid + " ]";
    }

}
